Use the following code as an example of how to find out if a SQL table can be accessed before trying to log on to it. This demonstrates the PETestNthTableConnectivity function:
short tableN;
// The SQL table you want to test
tableN = 0;
// Test the first table in the report
if (!PETestNthTableConnectivity(Job, tableN)){
// Handle error
}
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |